package com.yf.exam.modules.trainingarchives.evaluation.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EvaluationSummaryDTO对象", description="满意度调查总结DTO表")
public class EvaluationSummaryDTO implements Serializable {

    @ApiModelProperty(value = "满意度调查总结ID")
    private String id;

    @ApiModelProperty(value = "培训id")
    @NotBlank(message = "培训id不能为空")
    private String trainingClassInfoId;

    @ApiModelProperty(value = "调查类型（1：培训班，2：培训教师）")
    @NotNull(message = "调查类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "满意度调查总结内容")
    @NotBlank(message = "满意度调查总结内容不能为空")
    private String summary;
}
